package com.asiainfo.sqlextractor.adapter;

import org.apache.calcite.util.Pair;

import java.util.List;


public class TableDefine {

    private final String name;

    private final List<Pair<String, Class<?>>> columnTypes;

    public TableDefine(String name, List<Pair<String, Class<?>>> columnTypes) {
        this.name = name;
        this.columnTypes = columnTypes;
    }

    public String name() {
        return name;
    }

    public List<Pair<String, Class<?>>> columnTypes() {
        return columnTypes;
    }

}
